{template 'common/header'}
<div class="main">
    <div class="panel panel-info">
	    <div class="panel-heading">参数设置</div>
	    
	    
	    <div class="panel-body">
            <form action="./index.php" method="post" class="form-horizontal" role="form" id="form1">
                <input type="hidden" name="c" value="site" />
                <input type="hidden" name="a" value="entry" />
                <input type="hidden" name="m" value="dashen_zaoqizhuanqian" />
                <input type="hidden" name="do" value="dksetting" />

		   		 <div class="form-group">	                
		    		<label class="col-sm-2 control-label">最低提现金额：</label>
		    		<div class="col-sm-10">
		    			<input type="text" name="tixian" value="{php echo $set['tixian']}" class="form-control" placeholder="最低提现金额" />
		    			<span class="help-block">用户提现的最低金额</span>
		    		</div>
		   		</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">打卡周期：</label>
					<div class="col-sm-10">
						<input type="number" name="zhouqi" value="{php echo $set['zhouqi']}" class="form-control" placeholder="" />
						<span class="help-block">从投资开始连续打卡到拿回本金的周期</span>
					</div>
				</div>
                <div class="form-group">
	   				<label class="col-sm-2 control-label">打卡缴纳押金数额: </label>
					<div class="col-sm-10">
						<input type="text" name="yajin"  value="{php echo $set['yajin']}" class="form-control" placeholder="打卡缴纳押金数额，为整数" />
							<span class="help-block"><span style="color:red;">*打卡缴纳押金数额，若存在多个用英文逗号隔开</span></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">追加缴纳押金数额: </label>
					<div class="col-sm-10">
						<input type="text" name="zyajin"  value="{php echo $set['zyajin']}" class="form-control" placeholder="打卡缴纳押金数额，为整数" />
						<span class="help-block"><span style="color:red;">*追加缴纳押金数额，若存在多个用英文逗号隔开，若不填默认为打卡缴纳金额</span></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">打卡虚拟人数与金额: </label>
					<div class="col-sm-10">
						<input type="text" name="xuni"  value="{php echo $set['xuni']}" class="form-control" placeholder="打卡虚拟人数与金额" />
						<span class="help-block"><span style="color:red;">*前人数后金额用英文,隔开最后为成功失败人数的比例。如20,500,6的意思是多增加20人,500元,虚拟人数以6:4的比例分配在打卡成功和失败的人数上前台显示的为后台虚拟加实际的数据</span></span>
					</div>
				</div>
				<div class="form-group">
	   				<label class="col-sm-2 control-label">记步完成步数: </label>
					<div class="col-sm-10">
						<input type="text" name="num"  value="{php echo $set['num']}" class="form-control" placeholder="记步完成步数，为整数" />
							<span class="help-block"><span style="color:red;">*记步完成步数，为整数</span></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">图片</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_form_field_multi_image('images',$set['images']);}
					</div>
				</div>
                <div class="form-group">
	   				<label class="col-sm-2 control-label">自定义挑战按钮内容: </label>
					<div class="col-sm-10">
						<input type="text" name="tiaozhan" value="{php echo $set['tiaozhan']}" class="form-control" placeholder="首页挑战按钮内容" />
                        <span class="help-block" style="color:red;">首页中我要挑战按钮自定义内容，不填默认为我要挑战</span>
					</div>
				</div>
				<div class="form-group">
	   				<label class="col-sm-2 control-label">首页广告: </label>
					<div class="col-sm-10">
						{php echo tpl_form_field_image('pic',$set['pic'])}
					</div>
				</div>
                <div class="form-group">
	   				<label class="col-sm-2 control-label">首页广告链接地址: </label>
					<div class="col-sm-10">
						<input type="text" name="ad_url" value="{php echo $set['ad_url']}" class="form-control" placeholder="首页广告链接地址" />
						<span class="help-block"><span style="color:red;">*格式http://www.baidu.com</span></span>
					</div>
				</div>
                <div class="form-group">
	   				<label class="col-sm-2 control-label">引导关注背景: </label>
					<div class="col-sm-10">
						{php echo tpl_form_field_image('yd_pic',$set['yd_pic'])}
					</div>
				</div>
                <div class="form-group">
	   				<label class="col-sm-2 control-label">关注二维码: </label>
					<div class="col-sm-10">
						{php echo tpl_form_field_image('er_pic',$set['er_pic'])}
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label" >引导关注的文字</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_ueditor('wenzi',$set['wenzi']);}
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label" >挑战规则</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_ueditor('wenben',$set['wenben']);}
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label"></label>
					<div class="col-sm-10">
						<input style="margin-left:15px;" type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
						<input type="hidden" name="token" value="{$_W['token']}" />
					</div>
				</div>
               
            </form>
	    </div>
	</div>
</div>

{template 'common/footer'}